package com.youxin.cpcenter.dao;

import org.apache.ibatis.annotations.Mapper;

import com.youxin.busfoundation.bean.ent.RequestEntMemberIdentifyCapitalBean;
import com.youxin.cpcenter.model.TbEntMemberIdentifyCapital;

@Mapper
public interface TbEntMemberIdentifyCapitalMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbEntMemberIdentifyCapital record);

    int insertSelective(TbEntMemberIdentifyCapital record);

    TbEntMemberIdentifyCapital selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbEntMemberIdentifyCapital record);

    int updateByPrimaryKey(TbEntMemberIdentifyCapital record);
	
	int increaseLeadsNumber(TbEntMemberIdentifyCapital record);
	
	int decreaseLeadsNumber(TbEntMemberIdentifyCapital record);
	
	
	int increaseCoupon(TbEntMemberIdentifyCapital record);
	
	int decreaseCoupon(TbEntMemberIdentifyCapital record);
	
	int increaseMemberNumber(TbEntMemberIdentifyCapital record);
	
	int decreaseMemberNumber(TbEntMemberIdentifyCapital record);
	
	RequestEntMemberIdentifyCapitalBean selectEntConsumDetails(Long id);
}